<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <img src="con1.jpg" alt="">
    <script>
        fetch('http://localhost:3000/info')
        .then(res =>{
                const headers =res.headers
                console.log(headers.get('Express'))
               
            })
        .then(res =>{
            console.log(res)
        })

        //SSE
        const SSE = new EventSource('http://localhost:3000/sse')
        SSE.addEventListener('message', (e) => {
            console.log(e.data)
        })
    </script>

</body>
</html>